//
//  QQFriendModel.h
//  QQStaticLib
//
//  Created by mac on 16/4/20.
//  Copyright © 2016年 srulos. All rights reserved.
//

#import <Foundation/Foundation.h>

//讨论组
@interface QQDiscusModel : NSObject
@property long m_confSeq;//不知道是什么
@property (nonatomic,retain) NSString * m_confName;//讨论组名称
@property long m_confId;//讨论组id
@property (nonatomic,retain) NSString * m_mlsName;//成员昵称
@property (nonatomic,retain) NSString * m_headImgUrl;//头像http://pub.idqqimg.com/qconn/widget/shareqq/images/discu_avatar.gif
- (id)initWithDic:(NSMutableDictionary*)dic;
@end

//群
@interface QQGroupModel : NSObject
@property long m_flag;//不知道是什么
@property (nonatomic,retain) NSString * m_name;//群名称
@property long m_gid;//不知道是什么
@property long m_role;//不知道是什么
@property long m_code;//群id
@property (nonatomic,retain) NSString * m_headImgUrl;//头像
- (id)initWithDic:(NSMutableDictionary*)dic vfWebQQ:(NSString*)vfWebQQ;
@end

//分组
@interface QQCategoriesModel : NSObject
@property (nonatomic,retain) NSString * m_name;//分组名称
@property long m_id;//分组id
@property (nonatomic,retain) NSMutableArray * m_friends;//改分组的好友
- (id)initWithDic:(NSMutableDictionary*)dic friends:(NSMutableArray*)friends;
@end

//好友
@interface QQFriendModel : NSObject
@property long m_categories;//群
@property (nonatomic,retain) NSString * m_nick;//昵称
@property (nonatomic,retain) NSString * m_headImgUrl;//暂时没有
@property long m_uin;//用户qq号
@property (nonatomic,retain) NSString * m_pinYin;//昵称拼音
@property long m_flag;//不知道是什么
@property long m_face;//不知道是什么

- (id)initWithDic:(NSMutableDictionary*)dic vfWebQQ:(NSString*)vfWebQQ;

//按照拼音排序
+(NSMutableArray*)sortByPinYin:(NSMutableArray *)array;
@end
